#ifndef UPDATEARTICLECONTENTREQUEST_H
#define UPDATEARTICLECONTENTREQUEST_H

#include "network/networkgetjsonrequest.h"

#include <QObject>

class Article;
class UpdateArticleContentResponse;

class UpdateArticleContentRequest : public Network::GetJSONRequest
{
    Q_OBJECT
public:
    explicit UpdateArticleContentRequest(Article* article, QObject *parent = 0);

private:
    Network::JSONResponse &jsonResponse();

public:
    const Network::JSONResponse &jsonResponse() const;
    QUrl url() const;

private:
    UpdateArticleContentResponse *m_response;
private:
    Article* m_article;

};

#endif // UPDATEARTICLECONTENTREQUEST_H
